<html>
  
  <head>
    <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
    <title>{% block title %}{% endblock %}</title>
  </head>

  <body>
    {{ currentUser.nickname }}, <a href="/Logout">Logout</a>
    <h2>{% block header %}{% endblock %}</h2>
    <h3>{% block secHeader %}{% endblock %}</h3>
    <table>
    {% for error in errors %}
        <tr><td>{{ error.level }}:</td><td>"{{ error.message }}"</td></tr>
    {% endfor %}
    </table>
	<div style="width:100%">
	    {% block content %}
	</div>
    {% endblock %}
  </body>
  
</html>